/**
 * @Author 安广伟
 * @Date 2024/7/16 14:58
 * @LastEditTime 2024-07-16 14:58:34
 * @Version 1.0
 * @Description:
 */

package com.example.demo.rabbitmq.customer;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
//@RabbitListener(queues = "topic.woman")
public class TopicTotalCustomer {

    @RabbitHandler
    public void process(Map testMessage){
//        System.out.println("TopicTotalCustomer消费者收到消息  : " + testMessage.toString());
    }
}
